#ifndef __APPLICATION_H
#define __APPLICATION_H

#ifdef __cplusplus
 extern "C" {
#endif
	 
#include "System.h"
#if RTOS_TYPE
	#include "OSAL.h"
#endif

typedef struct __PACKED{
    UINT8	powerSta;
	UINT8	keyStatus;

}UserData_T;
typedef struct{
    UINT32	isBuzzer;

}UserFlag_T;

extern UserData_T	g_userData;

void App_Init(void);
void App_Process(void);


#if RTOS_TYPE
	#if (MCU_TYPE == MCU_STM32H730ZB) 
		LINK_LOCATION("ITCM") void  AppGUITask        (OSAL_PARAM _input);
	#else
		void  AppGUITask        (OSAL_PARAM _input);
	#endif
#else
	#if (MCU_TYPE == MCU_STM32H730ZB) 
		LINK_LOCATION("ITCM") void  AppGUITask        (UINT32 _input);
	#else
		void  AppGUITask        (UINT32 _input);
	#endif
#endif



#ifdef __cplusplus
}
#endif
#endif
